package com.epfly.promo.activity.feign;

import com.ifood.model.common.base.IFoodResponseEntity;
import com.ifood.model.common.constants.IFoodCommosConstants;
import com.ifood.model.user.param.response.IdentityUserResp;
import com.ifood.model.user.url.UserUrlConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = IFoodCommosConstants.user)
public interface UserFeign {



    /**
     * 是不是会员
     */
    @PostMapping(value = UserUrlConstants.US_USER_IS_MEMBER)
    public IFoodResponseEntity<IdentityUserResp> isMember(@RequestParam String userId);


}
